Self in type definitions (self_in_typedefs)#53324
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Err, is tidy broken here? That line definitely isn't longer than 100 chars. |
|
@alexreg: I'm not sure about the 100 character message, but there's an issue with the diagnostic length: |
|
@varkor Yeah, I noticed that after I posted the above, but thanks! |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@Centril Turns out having this feature for |
|
@alexreg leave it out ;) |
|
All should be in order now! Ready for a review, @eddyb. |
|
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
There was a problem hiding this comment.
The order here changed, is that intentional?
There was a problem hiding this comment.
Yes, it is. I had accidentally deleted it before and rewritten it the wrong way round, which broke some UI tests. :-P So this fixes it.
Currently type definitions include `struct`, `enum`, `union`, `existential type`.
|
@bors r+ |
|
📌 Commit 4e7d3f5 has been approved by |
`Self` in type definitions (self_in_typedefs) This implements the [`self_in_typedefs` feature](https://github.com/rust-lang/rfcs/blob/master/text/2300-self-in-typedefs.md) ([tracking issue 49303](#49303)). r? @eddyb CC @Centril
|
☀️ Test successful - status-appveyor, status-travis |
This implements the
self_in_typedefsfeature (tracking issue 49303).r? @eddyb
CC @Centril